<?php
namespace app\common\model\project_model;

use app\common\helper\Obj2Array;
use app\common\model\Base;
use think\Model;

class BasicConfigModel extends Model {

    const STATUS_OK = 1;
    const STATUS_LOCK = 0;
    const REWARD_SHOW = 1;
    const REWARD_HIDE = 0;

    protected $table = 'ph_basic_config';

    public static function statusList() {
        return [
            self::STATUS_LOCK => '锁定',
            self::STATUS_OK => '启用'
        ];
    }

    public static function rewardList() {
        return [
            self::REWARD_HIDE => '隐藏',
            self::REWARD_SHOW => '显示',

        ];
    }
}